package com.charm.bulkcomponent.api

import com.charm.businesshub.entity.NewsListItemEntity
import com.charm.codes.entity.Xentity
import io.reactivex.Observable
import retrofit2.http.*

/**
 * Created by tools on 2018/1/4.
 */
interface FirstService {
    @GET("/news/qihoo")
    fun newsList(@Query("kw") kw: String,
                 @Query("site") site: String,
                 @Query("apikey") apikey: String,
                 @Query("pageToken") pageToken: Int
    ): Observable<Xentity<List<NewsListItemEntity>>>
}